home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Found / FWExcLib / Include / FWSPostE.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-21  |  902 b   |  37 lines  |  [TEXT/MPS ]

  1. #if !defined(FWSPOSTE_H)
  2. #define FWSPOSTE_H
  3. //========================================================================================
  4. //
  5. //    File:                FWSPostE.h
  6. //    Release Version:    $ 1.0d1 $
  7. //
  8. //    Creation Date:        3/28/94
  9. //
  10. //    Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  11. //
  12. //========================================================================================
  13.  
  14. #include "stddef.h"
  15.  
  16. class _FW_CException;
  17.  
  18. // Globals for posted exceptions 
  19. struct FW_SPrivPostedExceptionGlobals
  20. {
  21.     short             gPending;
  22.         // 1 if an exception is pending, 0 if not.
  23.  
  24.     _FW_CException*    gPostedException;
  25.         // the exception buffer, allocated in constructor.
  26.  
  27.     short            gMaxPostedSize;
  28.         // size of exception buffer.
  29.         
  30.     short            gInitialized;
  31.         // Only one instance of this class should exist.
  32.         // First instance sets gInitialized to 1.
  33.         // A second attempt to create an instance will fail.
  34. };
  35.  
  36. #endif
  37.